/****************************************************************************
**
** Multi.h
**
** Copyright (C) August 2014 Hotride
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
**
*****************************************************************************
*/
//---------------------------------------------------------------------------
#ifndef MultiH
#define MultiH
//---------------------------------------------------------------------------
class TMultiObject
{
private:
	WORD m_ID;
	short m_X;
	short m_Y;
	char m_Z;
	DWORD m_Flags;

public:
	TMultiObject();
	~TMultiObject();

	TMultiObject *m_Prev;
	TMultiObject *m_Next;
	
	SETGET(WORD, ID)
	SETGET(short, X)
	SETGET(short, Y)
	SETGET(char, Z)
	SETGET(DWORD, Flags)
};
//---------------------------------------------------------------------------
class TMulti
{
private:
	short m_X;
	short m_Y;
	short m_MinX;
	short m_MinY;
	short m_MaxX;
	short m_MaxY;

public:
	TMulti();
	~TMulti();
	
	TMulti *m_Next;

	TMultiObject *m_Items;
	
	SETGET(short, X)
	SETGET(short, Y)
	SETGET(short, MinX)
	SETGET(short, MinY)
	SETGET(short, MaxX)
	SETGET(short, MaxY)
};
//---------------------------------------------------------------------------
#endif